import $http from '@/assets/js/http'


//查询企业认证列表
export function getEnterpriseList(name,mobile,value,index, size) {
    return $http.get('/manage/enterprise/list', {
        params: { enterpriseName: name, mobile:mobile,isChecked:value,pageIndex: index, pageSize: size }
    });
}
//查询企业认证详情
export function getEnterpriseDetaile(id) {
    return $http.get('/manage/enterprise/getDetail', {
        params: { id:id }
    });
}
//审核企业认证
export function postChangeEnterprise(id,state) {
    return $http.post('/manage/enterprise/checked', {
        id:id,
        isChecked:state,
    });
}
